/*
Spotter Exercise Manager
Copyright 2011 Evan Nelson.

This file is part of Spotter Exercise Manager.

Spotter Exercise Manager is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Spotter Exercise Manager is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Spotter Exercise Manager.  If not, see <http://www.gnu.org/licenses/>.

The author can be contacted by emailing ean5533@gmail.com
*/

#ifndef LOGIN_H
#define LOGIN_H

#include <QtGui/QDialog>
#include <QSqlDatabase>

namespace Ui
{
    class LoginClass;
}

class Login : public QDialog
{
     Q_OBJECT

public:
    Login(QWidget *parent = 0);
    ~Login();

private:
    Ui::LoginClass *ui;
    static void centerWidgetOnScreen(QWidget* widget);

private slots:
    void on_buttonBox_rejected();
    void on_buttonBox_accepted();
};

#endif // LOGIN_H
